fix: resolve production build failure (invalid JSON + missing .nvmrc)#1860
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
sanjay-kv
marked this pull request as ready for review
June 5, 2026 05:19
Copilot
AI
changed the title
[WIP] Fix the latest production build issue
fix: resolve production build failure (invalid JSON + missing .nvmrc)
Jun 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Production build failing because Vercel detected Node.js version changed from
"22.x"to"". Root cause: invalid JSON inpackage.json(missing comma) prevented the build system from reading engine configuration, and no.nvmrcexisted to explicitly pin the Node.js version.Type of Change
Changes Made
package.json: Added missing comma after@typescript-eslint/parserentry (line 84). The invalid JSON caused the entire file to be unparseable by the build platform..nvmrc: Created with value22to explicitly specify Node.js version for build environments (Vercel, etc.).Dependencies
enginesfield and prior build cache).Checklist
npm run buildand attached screenshot(s) in this PR.